package com.niiwoo.civet.trade.service.local.credit;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niiwoo.civet.trade.dao.entity.credit.CreditProject;
import com.niiwoo.civet.trade.dao.mapper.credit.CreditProjectMapperExt;

/**
 * @ClassName: CreditProjectService
 * @Description: 信用借项目服务
 *
 * @author: kevin.jia
 * @version 
 * @date: 2017年12月14日 下午3:19:04
 */
@Service("creditProjectService")
public class CreditProjectService {

	@Autowired
	private CreditProjectMapperExt creditProjectMapperExt;
	
	/**
	 * 根据项目ID查询
	 * 
	 * @param projectIdList
	 * @return
	 */
	public List<CreditProject> getCreditProjectByProjectIdList(List<Long> projectIdList) {
		return creditProjectMapperExt.selectByProjectIdList(projectIdList);
	}
}